//
//  DataHandle.h
//  DongChiDaChiProject1
//
//  Created by lanou3g on 15/10/28.
//  Copyright © 2015年 com.lanou3g. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "HotMeiShiModel.h"
#import "QiangTangModel.h"
#import "TeSeXiaoChiModel.h"
#import "LiangCaiModel.h"
#import "ShiShangYinPinModel.h"
#import "TianPinModel.h"
#import "ShiLiaoYaoShanModel.h"
#import "MeiZhouModel.h"


@interface DataHandle : NSObject

+ (DataHandle *)shareHandle;

// 请求热门美食数据并且用block回调
- (void)requestHotMeiShiDataWithPage:(NSInteger)PageCount AndReturn:(void(^)(NSMutableArray *array))block;
// 根据indexpath返回model
- (HotMeiShiModel *)returnHotMeiShiModelByIndex:(NSIndexPath *)indexPath;
// 返回HotMeiShiModel的个数
- (NSInteger)returnCountOfHotMeiShiModel;

#pragma mark - 靓汤
// 请求热门美食数据并且用block回调
- (void)requestQiangTangDataWithPage:(NSInteger)PageCount AndReturn:(void(^)(NSMutableArray *array))block;
// 根据indexpath返回model
- (QiangTangModel*)returnQiangTangModelByIndex:(NSIndexPath *)indexPath;
// 返回HotMeiShiModel的个数
- (NSInteger)returnCountOfQiangTangModel;

#pragma mark - 特色小吃
// 请求热门美食数据并且用block回调
- (void)requestTeSeXiaoChiDataWithPage:(NSInteger)PageCount AndReturn:(void(^)(NSMutableArray *array))block;
// 根据indexpath返回热门美食model
- (TeSeXiaoChiModel*)returnTeSeXiaoChiModelByIndex:(NSIndexPath *)indexPath;
// 返回热门美食的个数
- (NSInteger)returnCountOfTeSeXiaoChiModel;

#pragma mark - 凉菜
// 请求凉菜数据并且用block回调
- (void)requestTeLiangCaiDataWithPage:(NSInteger)PageCount AndReturn:(void(^)(NSMutableArray *array))block;
// 根据indexpath返回凉菜model
- (LiangCaiModel *)returnLiangCaiModelByIndex:(NSIndexPath *)indexPath;
// 返回凉菜的个数
- (NSInteger)returnCountOfLiangCaiModel;

#pragma mark - 时尚饮品
// 请求时尚饮品数据并且用block回调
- (void)requestTeShiShangYinPinDataWithPage:(NSInteger)PageCount AndReturn:(void(^)(NSMutableArray *array))block;
// 根据indexpath返回时尚饮品model
- (ShiShangYinPinModel *)returnShiShangYinPinModelByIndex:(NSIndexPath *)indexPath;
// 返回时尚饮品的个数
- (NSInteger)returnCountOfShiShangYinPinModel;

#pragma mark - 甜品
// 请求甜品数据并且用block回调
- (void)requestTeTianPinDataWithPage:(NSInteger)PageCount AndReturn:(void(^)(NSMutableArray *array))block;
// 根据indexpath返回甜品model
- (TianPinModel *)returnTianPinModelByIndex:(NSIndexPath *)indexPath;
// 返回甜品的个数
- (NSInteger)returnCountOfTianPinModel;


#pragma mark - 食疗药膳
// 请求食疗药膳数据并且用block回调
- (void)requestTeShiLiaoYaoShanDataWithPage:(NSInteger)PageCount AndReturn:(void(^)(NSMutableArray *array))block;
// 根据indexpath返回食疗药膳model
- (ShiLiaoYaoShanModel *)returnShiLiaoYaoShanModelByIndex:(NSIndexPath *)indexPath;
// 返回食疗药膳的个数
- (NSInteger)returnCountOfShiLiaoYaoShanModel;

#pragma mark - 美粥
// 请求美粥数据并且用block回调
- (void)requestTeMeiZhouDataWithPage:(NSInteger)PageCount AndReturn:(void(^)(NSMutableArray *array))block;
// 根据indexpath返回美粥model
- (MeiZhouModel *)returnMeiZhouModelByIndex:(NSIndexPath *)indexPath;
// 返回美粥的个数
- (NSInteger)returnCountOfMeiZhounModel;

#pragma mark - 删除保存数组的内容
- (void)deleteQianTangSaveArray;

- (void)deleteTeSeXiaoChiSaveArray;

- (void)deleteLiangCaiSaveArray;

- (void)deleteShiShangYinPinSaveArray;

- (void)deleteTianPinSaveArray;

- (void)deleteShiLiaoYaoShanSaveArray;

- (void)deleteMeiZhouSaveArray;

// 删除首页的保存数组
- (void)deleteShouYeSaveArray;




@end
